3.3.73 \(\int \frac {1}{a+\sqrt {a} x} \, dx\)

Optimal. Leaf size=14 \[ \frac {\log \left (\sqrt {a}+x\right )}{\sqrt {a}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 14, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {31} \begin {gather*} \frac {\log \left (\sqrt {a}+x\right )}{\sqrt {a}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + Sqrt[a]*x)^(-1),x]

[Out]

Log[Sqrt[a] + x]/Sqrt[a]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rubi steps

\begin {align*} \int \frac {1}{a+\sqrt {a} x} \, dx &=\frac {\log \left (\sqrt {a}+x\right )}{\sqrt {a}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 16, normalized size = 1.14 \begin {gather*} \frac {\log \left (\sqrt {a} x+a\right )}{\sqrt {a}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + Sqrt[a]*x)^(-1),x]

[Out]

Log[a + Sqrt[a]*x]/Sqrt[a]

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{a+\sqrt {a} x} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(a + Sqrt[a]*x)^(-1),x]

[Out]

IntegrateAlgebraic[(a + Sqrt[a]*x)^(-1), x]

________________________________________________________________________________________

fricas [A]  time = 0.79, size = 10, normalized size = 0.71 \begin {gather*} \frac {\log \left (x + \sqrt {a}\right )}{\sqrt {a}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+x*a^(1/2)),x, algorithm="fricas")

[Out]

log(x + sqrt(a))/sqrt(a)

________________________________________________________________________________________

giac [A]  time = 1.28, size = 13, normalized size = 0.93 \begin {gather*} \frac {\log \left ({\left | \sqrt {a} x + a \right |}\right )}{\sqrt {a}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+x*a^(1/2)),x, algorithm="giac")

[Out]

log(abs(sqrt(a)*x + a))/sqrt(a)

________________________________________________________________________________________

maple [A]  time = 0.00, size = 13, normalized size = 0.93 \begin {gather*} \frac {\ln \left (\sqrt {a}\, x +a \right )}{\sqrt {a}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a+x*a^(1/2)),x)

[Out]

ln(a+x*a^(1/2))/a^(1/2)

________________________________________________________________________________________

maxima [A]  time = 1.25, size = 12, normalized size = 0.86 \begin {gather*} \frac {\log \left (\sqrt {a} x + a\right )}{\sqrt {a}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+x*a^(1/2)),x, algorithm="maxima")

[Out]

log(sqrt(a)*x + a)/sqrt(a)

________________________________________________________________________________________

mupad [B]  time = 0.11, size = 10, normalized size = 0.71 \begin {gather*} \frac {\ln \left (x+\sqrt {a}\right )}{\sqrt {a}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a + a^(1/2)*x),x)

[Out]

log(x + a^(1/2))/a^(1/2)

________________________________________________________________________________________

sympy [A]  time = 0.08, size = 14, normalized size = 1.00 \begin {gather*} \frac {\log {\left (\sqrt {a} x + a \right )}}{\sqrt {a}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+x*a**(1/2)),x)

[Out]

log(sqrt(a)*x + a)/sqrt(a)

________________________________________________________________________________________